




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/08/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.research5PCB.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.research5PCB.entity.Research5PCB;
import com.application.research5PCB.struts.form.Research5PCBForm;
import com.application.research5PCB.dao.Research5PCBDAO;
 /**
 * 
 * Description:Research5PCBService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 左磊 QQ：30575951    <br />
 * 
 * History: <br />
 * 
 * 02/08/2012 
 * 
 */
public class Research5PCBService extends BaseService
{
	private Research5PCBDAO research5PCBDAO;

	public Research5PCBDAO getResearch5PCBDAO() {
		return this.research5PCBDAO;
	}

	public void setResearch5PCBDAO(Research5PCBDAO research5PCBDAO) {
		this.research5PCBDAO = research5PCBDAO;
	}
        

        public Research5PCB getResearch5PCB(Research5PCB research5PCB) {
		return (Research5PCB) this.getBaseDao().queryByPk(research5PCB, research5PCB.getId());
	}
	
	public Integer getAllCountResearch5PCB(Research5PCBForm research5PCBForm){
		return this.research5PCBDAO.getAllCountResearch5PCB(research5PCBForm);
	}
	
	public List<Research5PCB> searchResearch5PCB(Research5PCBForm research5PCBForm, PageBean pageBean) throws Exception {
		List<Research5PCB> research5PCBList = (List) this.research5PCBDAO.searchResearch5PCB(research5PCBForm, pageBean);
		return research5PCBList;
	}
        
        public void deleteResearch5PCBs(Research5PCBForm research5PCBForm){
	   this.research5PCBDAO.deleteResearch5PCBs(research5PCBForm);	 
	}
        public List searchResearch5PCB(final Research5PCBForm research5PCBForm) {
    		List<Research5PCB> research5PCBList = (List) this.research5PCBDAO.searchResearch5PCB(research5PCBForm);
    		return research5PCBList;
    	}
}
